//Script made by {SSF}Sage
//Have fun! Contact me with E-mail at ssf@netti.fi
//
//     LLL          oooo      LLL
//     LLL        oo    oo    LLL 
//     LLL       oo      oo   LLL 
//     LLL       oo	 oo   LLL        ftw!
//     LLL	  oo    oo    LLL
//     LLLLLLLL     oooo      LLLLLLLL
//
game_manager
{
	spawn
	{
		wait 50

		wm_axis_respawntime 5
		wm_allied_respawntime 5
		wm_set_round_timelimit 10

		wm_number_of_objectives 1
		wm_objective_status 1 0 0
		wm_objective_status 1 1 0

		wm_setwinner 0

		setautospawn "Allied spawn" 1
		setautospawn "Axis spawn" 0
	}

	trigger pit_death
	{
		alertentity pit_explo
		alertentity pit_crack
		alertentity pit_weffect
		alertentity pit_debris
		alertentity pit_debris2

		wait 250

		enablespeaker pit_speaker
	}

	trigger timelimit_hit
	{
		wm_setwinner 0
		wm_endround
	}
}




pit_mover
{
	death
	{
		//Trigger in game_manager, due to a wait command
		
		trigger game_manager pit_death
	}
}